<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>1</title>
    <script src="https://unpkg.com/vue@next"></script>
</head>

<body>
    <div id='root'>
        {{inputval}}
       <input type="text" v-model="inputval">
       <textarea name="" id="" cols="30" rows="10" v-model="inputval"></textarea>
       <hr> 
       checkbox:{{checkbox_arr}} <br>
       jack <input type="checkbox" v-model="checkbox_arr" value="1">
       bell <input type="checkbox" v-model="checkbox_arr" value="2">
       lee <input type="checkbox" v-model="checkbox_arr" value="3">

       <hr> 
       radio:{{radio_str}} <br>
       jack <input type="radio" v-model="radio_str" value="11">
       bell <input type="radio" v-model="radio_str" value="22">
       lee <input type="radio" v-model="radio_str" value="33"> 

        <hr>
        select:{{select_arr}} <br>
        <select name="" id="" v-model="select_arr">
             <option value="1a" disabled > 请选择</option>
             <option value="2a">sss2</option>
             <option value="3a">sss3</option>
             <option value="4a">sss4</option>
        </select>

    </div>
    <script>
        let app = Vue.createApp({
            data() {
                return {
                    count:0,
                    inputval:'',
                    checkbox_arr:[],
                    radio_str:'',
                    select_arr:'1a'
                }
            },
            methods:{
                handleButton(){
                   alert(1)
                },
                hadlevent(event){
                    console.log(event.target)
                },
                hadlevent2(argm1,event){
                    console.log('argm1',argm1);
                    console.log(event.target);
                },
                hand1(){
                    alert('hand1')
                },
                hand2(){
                    alert('hand2')
                }
            }
        })

        let vm = app.mount('#root')
    </script>
</body>
</html>